<script setup>
import { ref } from 'vue';
import { useRouter } from 'vue-router';
const router = useRouter()

const value = ref('/');
const change = (changeValue) => {
  router.push(changeValue)
};
</script>

<template>
  <div class="app-page">
    <router-view></router-view>
    <!-- <t-tab-bar v-model="value" theme="tag" :split="false" @change="change">
      <t-tab-bar-item value="/" >首页</t-tab-bar-item>
      <t-tab-bar-item value="/my" >我的</t-tab-bar-item>
    </t-tab-bar> -->
  </div>
</template>

<style scoped>

</style>